program Mdiapp;

uses
  Forms,
  Main in 'Main.pas' {MainForm},
  ChildWin in 'ChildWin.pas' {MDIChild},
  about in 'about.pas' {AboutBox},
  sqltext in 'sqltext.pas',
  ruku in 'ruku.pas' {FORM_RUKU},
  chuku in 'chuku.pas' {FORM_CHUKU},
  mingxi in 'mingxi.pas' {FORM_MINGXI},
  gailan in 'gailan.pas' {FORM_GAILAN},
  shitu in 'shitu.pas' {FORM_SHITU},
  zhuangji in 'zhuangji.pas' {FORM_ZHUANGJI},
  data in 'data.pas' {Form1},
  zhichu in 'zhichu.pas' {Form3},
  F_m in 'F_m.pas' {Frame1: TFrame},
  F_GAILAN in 'F_GAILAN.pas' {Frame3: TFrame},
  DataBase in 'DataBase.pas',
  ButtonForm in 'ButtonForm.pas',
  ProductManage in 'ProductManage.pas' {FORM_ProductManage};

{$R *.RES}
 var
 abuttonform :Tbuttonform;

begin
  Application.Initialize;
  Application.CreateForm(TMainForm, MainForm);
  Application.CreateForm(TAboutBox, AboutBox);
  Application.CreateForm(TFORM_CHUKU, FORM_CHUKU);
  Application.CreateForm(TFORM_RUKU, FORM_RUKU);
  Application.CreateForm(TFORM_MINGXI, FORM_MINGXI);
  Application.CreateForm(TFORM_GAILAN, FORM_GAILAN);
  Application.CreateForm(TFORM_SHITU, FORM_SHITU);
  Application.CreateForm(TFORM_ZHUANGJI, FORM_ZHUANGJI);
  Application.CreateForm(TForm1, Form1);
  Application.CreateForm(TFORM_ProductManage, FORM_ProductManage);
  //Application.CreateForm(TProductManageForm, ProductManageForm);
  abuttonform:=Tbuttonform.Create(MainForm.Panel1);
  abuttonform.AddButton(FORM_CHUKU,MainForm.Panel1);
  abuttonform:=Tbuttonform.Create(MainForm.Panel1);
  abuttonform.AddButton(FORM_RUKU,MainForm.Panel1);
  abuttonform:=Tbuttonform.Create(MainForm.Panel1);
  abuttonform.AddButton(FORM_MINGXI,MainForm.Panel1);
  abuttonform:=Tbuttonform.Create(MainForm.Panel1);
  abuttonform.AddButton(FORM_GAILAN,MainForm.Panel1);
  abuttonform:=Tbuttonform.Create(MainForm.Panel1);
  abuttonform.AddButton(FORM_SHITU,MainForm.Panel1);
  abuttonform:=Tbuttonform.Create(MainForm.Panel1);
  abuttonform.AddButton(FORM_ZHUANGJI,MainForm.Panel1);
  abuttonform:=Tbuttonform.Create(MainForm.Panel1);
  abuttonform.AddButton(Form1,MainForm.Panel1);
  abuttonform:=Tbuttonform.Create(MainForm.Panel1);
  abuttonform.AddButton(FORM_ProductManage,MainForm.Panel1);
   FORM_CHUKU.Show;


  //Application.CreateForm(TForm2, Form2);
 // Application.CreateForm(TForm3, Form3);
 { MAIN.MainForm.mditab1.AddTab(FORM_RUKU,10);
  MAIN.MainForm.mditab1.AddTab(FORM_CHUKU,10);
  MAIN.MainForm.mditab1.AddTab(FORM_MINGXI,10);
  MAIN.MainForm.mditab1.AddTab(FORM_GAILAN,10);
  MAIN.MainForm.mditab1.AddTab(FORM_SHITU,10);
  MAIN.MainForm.mditab1.AddTab(FORM_ZHUANGJI,10);
  MAIN.MainForm.mditab1.AddTab(Form1,10);
  FORM_RUKU.SetFocus; }
  //Application.CreateForm(TForm9, Form9);
  Application.Run;

end.
